package com.jianyun.jyzs.bean;


import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "tb_citymodel")
public class CityModel {
	@DatabaseField(generatedId=true,columnName = TABLE_NAME)
	private int id;
	@DatabaseField
	private String name;
	public static final String TABLE_NAME = "tb_citymodel";
	
	public CityModel() {
		super();
	}

	public CityModel(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	@Override
	public String toString() {
		return "CityModel{" +
				"id=" + id +
				", name='" + name + '\'' +
				'}';
	}
}
